
import java.util.Stack;

public class Test1 {
    public static void main(String[] args) {
        Stack<Integer> stack = new Stack<>();
        stack.push(1);
        stack.push(2);

        stack.push(23);
        System.out.println(stack.search(23));

    }
}
